package cn.shengchao.examstar.gankao.infrastrure.mapper;

import cn.shengchao.examstar.gankao.infrastrure.po.GkCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GkCourseMapper extends BaseMapper<GkCourse> {
    List<GkCourse> loadCourseTypeNotSyncLocalCourse(@Param("loadVersion") String loadVersion, @Param("courseType") int courseType, @Param("lastLimit") int lastLimit);
    List<GkCourse> loadNotLoadDetailCourseInSpecialTag(@Param("loadVersion") String loadVersion,@Param("tag") String tag,@Param("lastLimit") int lastLimit);

    List<GkCourse> loadCourseTypeNotSpecTypeCourse(@Param("loadVersion") String loadVersion,@Param("courseType") int courseType,@Param("lastLimit") int lastLimit);
    List<GkCourse> loadCourseTagNotSyncLocalCourse(@Param("loadVersion") String loadVersion, @Param("tag") String tag, @Param("lastLimit") int lastLimit);

}